/**
 * Created by JF-Z on 2017/12/7.
 */
/**
 * Created by JF-Z on 2017/12/8.
 */
angular.module('module.devup')
    .controller('UpdateNotesController', UpdateNotesController);
UpdateNotesController.$inject = ['$state','$http','DevupService'];
function UpdateNotesController($state, $http,DevupService) {
    var vm = this;
    vm.goShop=goShop;
    vm.pageSize =10;
    vm.currentPage = 1;

    ///////////////////////////////////////////////////

    DevupService.getDevNote().$promise.then(function (data) {
        vm.devNote=data;
        console.log(data)
    });
 //back
    vm.back=function () {
        history.go(-1);
    }
//
    function goShop() {
        $state.go("shopList");
    }





}